<?php
 
$y=10;
$abc=function($x)use($y){
    echo $x+$y;
};
var_dump(is_callable($abc));



class AA{
    function bb() {
        
    }
}
$array=["AA","bb"];
 
var_dump(is_callable($array));
